package com.yiliao.service;

import com.yiliao.util.MessageUtil;

import net.sf.json.JSONObject;

public interface WeiXinPaySetUpService {

    /**
     * 微信支付设置
     *
     * @param page
     * @return
     */
    JSONObject getWeiXinPaySetUpList(int page);

    /**
     * 新增或者修改
     *
     * @param t_id
     * @param appId
     * @param t_mchid
     * @param t_mchid_key
     * @param t_certificate_url
     * @return
     */
    MessageUtil addOrUpWeiXinPaySetUp(Integer t_id, String appId, String t_mchid, String t_mchid_key, String t_certificate_url, int t_pay_id);

    /**
     * 删除数据
     *
     * @param t_id
     * @return
     */
    MessageUtil delWeiXinPaySetUp(int t_id);

    /**
     * 获取微信支付渠道列表
     *
     * @return
     */
    MessageUtil getWxPayDeployList();

    /**
     * 获取ace支付配置信息
     *
     * @param page
     * @return
     */
    Object getAcePaySetUpList(int page);

    /**
     * 支付信息修改
     *
     * @param t_id
     * @param appId
     * @param t_mchid
     * @param t_mchid_key
     * @param t_certificate_url
     * @param t_pay_id
     * @return
     */
    MessageUtil addOrUpAcePaySetUp(Integer t_id, String appId, String t_mchid, String t_mchid_key, String t_certificate_url, int t_pay_id);

    /**
     * 删除
     *
     * @param t_id
     * @return
     */
    MessageUtil delAcePaySetUp(int t_id);

    /**
     * 获取列表
     *
     * @return
     */
    MessageUtil getAcePayDeployList();

    MessageUtil setAcePaySetUp(Integer t_id, String t_alipay_appid, String t_alipay_private_key, String t_alipay_public_key, int t_pay_id);

    Object getSwapPaySetUpList(int page);

    MessageUtil setSwapPaySetUp(Integer t_id, String t_alipay_appid, String t_alipay_private_key, String t_alipay_public_key, int t_pay_id);

    MessageUtil delSwapPaySetUp(int t_id);

    MessageUtil getSwapPayDeployList();

    Object getHzfWeiXinPaySetUpList(int page);

    MessageUtil setHzfWeiXinPaySetUp(Integer t_id, String t_alipay_appid, String t_alipay_private_key, String t_alipay_public_key, int t_pay_id);

    MessageUtil delHzfWeiXinPaySetUp(int t_id);

    MessageUtil getHzfWeiXinPayDeployList();

    Object getHzfAliPaySetUpList(int page);

    MessageUtil setHzfAliPaySetUp(Integer t_id, String t_alipay_appid, String t_alipay_private_key, String t_alipay_public_key, int t_pay_id);

    MessageUtil delHzfAliPaySetUp(int t_id);

    MessageUtil getHzfAliPayDeployList();
}
